<% source_hostname = @source_user.source_hostname %>
<% source_name = @source_user.source_name %>
<% source_username = "@#{@source_user.source_username}" %>
<% reassign_to_user = @source_user.reassign_to_user %>
<% reassign_to_name = reassign_to_user.name %>
<% reassign_to_username = "#{reassign_to_user.to_reference} - #{user_url(reassign_to_user)}" %>
<% destination_group = "#{@source_user.namespace.name} (/#{@source_user.namespace.full_path} - #{group_group_members_url(@source_user.namespace, tab: 'placeholders')})" %>

<%= s_('UserMapping|Reassignment rejected') %>

<%= s_('UserMapping|%{reassign_to_name} (%{reassign_to_username}) has declined your request to reassign contributions from %{source_name} (%{source_username}) on %{source_hostname} to them in %{destination_group}. To reassign these contributions to another user, go to the "Members" page of %{destination_group}.') % {
  reassign_to_name: reassign_to_name,
  reassign_to_username: reassign_to_username,
  source_name: source_name,
  source_username: source_username,
  source_hostname: source_hostname,
  destination_group: destination_group} %>
